<?php

use Illuminate\Support\Facades\Route;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('login');
})->name('login');

Route::post('/login',[\App\Http\Controllers\Apps\Home::class,'login']);
Route::get('/home',[\App\Http\Controllers\Apps\Home::class,'index']);

Route::get('/list',[\App\Http\Controllers\Apps\Home::class,'list']);
Route::get('/record',[\App\Http\Controllers\Apps\Home::class,'record']);
Route::get('/detail',[\App\Http\Controllers\Apps\Home::class,'detail']);
